//
//  PictureScrollView.m
//  UI_06homeWork
//
//  Created by dllo on 16/5/11.
//  Copyright © 2016年 jcl. All rights reserved.
//

#import "PictureScrollView.h"

@implementation PictureScrollView

- (void)addCellView:(NSArray<UIView *> *)views {
    
    
    self.contentSize = CGSizeMake(CGRectGetWidth(self.bounds), views[0].frame.size.height * views.count * 1);
    
    for (int i = 0; i < views.count; i++) {
        views[i].bounds = CGRectMake(0, views[i].frame.size.height * i, CGRectGetWidth(self.bounds), views[i].frame.size.height);
        
        [self addSubview:views[i]];
    }
    
    
    
    
    
}

@end
